package per.jdz.demo.service.impl;

import com.mybatisflex.spring.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import per.jdz.demo.dao.PropertyDictionMapper;
import per.jdz.demo.domain.entity.SecondHouseData;
import per.jdz.demo.service.PropertyDictionService;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Jdz
 * @date 2025/1/6
 */
@Service
public class PropertyDictionServiceImpl extends ServiceImpl<PropertyDictionMapper, SecondHouseData> implements PropertyDictionService {
    @Resource
    private PropertyDictionMapper propertyDictionMapper;
    @Override
    public Long selectIdByGeo(SecondHouseData secondHouseData) {
        return propertyDictionMapper.selectIdByGeo(secondHouseData);
    }

    @Override
    public List<Long> selectIdListByGeo(SecondHouseData secondHouseData) {
        return propertyDictionMapper.selectIdListByGeo(secondHouseData);
    }


}
